package com.lancoo.answer.model.bean

class XgSaBean : ArrayList<XgSaBeanItem>()

data class XgSaBeanItem(
    val RecQues: RecQues,
    val TkModel: TkModel
)

data class RecQues(
    val AnswerList: AnswerList,
    val IsFavourite: Boolean,
    val NoteID: String,
    val QuesID: String
)

data class TkModel(
    var SameState: Int,
    var CorrectRate: Double,

    val AudioList: List<Any>,
    val AudioSpeed: Double,
    val ChildList: List<ChildSa>,
    val DVAL: String,
    val EXVAL: String,
    val EvalType: Int,
    val GenreID: Int,
    val GenreName: String,
    val GenreType: String,
    val HVAL: String,
    val ImportKlgList: List<ImportKlgSa>,
    val IsOral: Boolean,
    val LevelType: Int,
    val MainKlgList: List<MainKlgSa>,
    val ModelAnswerAreaList: List<Any>,
    val ModelAnswerInfoList: List<Any>,
    val ModelTextInfoList: List<Any>,
    val QuesAudio: QuesAudioSa,
    val QuesBody: String,
    val QuesBrief: String,
    val QuesChildNum: Int,
    val QuesGuidance: String,
    val QuesID: String,
    val QuesLeaderContent: String,
    val ReplaceItemCount: Int,
    val Resource: String,
    val SortNum: Int,
    val SpecialFeatureCodes: String,
    val Theme: String,
    val TotalItemCount: Int,
    val TypeName: String,
    val TypeNo: String
)

data class AnswerList(
    val AudioPath: String,
    val ChildAnswer: String,
    val ChildAnswerType: Int,
    val ChildAsk: Any,
    val ChildIndex: Int,
    val EvalScore: Double,
    val ImagePath: String,
    val ItemList: List<Any>,
    val ScoreRate: Double,
    val SortIndexType: Int,
    val State: Int,
    val StuAnswer: String,
    val TotalScore: Double,
    val WrittingAnswerType: Int
)

data class ChildSa(
    val ChildAnalysis: String,
    val ChildAnswer: String,
    val ChildAnswerType: Int,
    val ChildAsk: String,
    val ChildAudio: ChildAudioSa,
    val ChildDisplay: String,
    val ChildOptionList: List<ChildOptionSa>,
    val ChildSectionName: String,
    val ItemList: List<ItemSa>,
    val SortIndexType: Int
)

data class ImportKlgSa(
    val Code: String,
    val Name: String,
    val UniqueCode: String
)

data class MainKlgSa(
    val Code: String,
    val Name: String,
    val UniqueCode: String
)

data class QuesAudioSa(
    val Article: String,
    val Path: String,
    val TimeLength: Int
)

data class ChildAudioSa(
    val Path: String,
    val TimeLength: Int
)

data class ChildOptionSa(
    val Option: String,
    val OptionIndex: String,
    val Rate: String,
    val StuCount: String
)

data class ItemSa(
    var StuAnswer: String,
    var AudioPath: String,
    var ImagePath: String,
    var IsAnswer: Boolean,
    var StuAnswerAudioWord: String,
    var StuAnswerTxtWord: String,
    var StuAnswerImageWord: String,
    var IsNeedImageToWord: Boolean,
    var WrittingAnswerType: Int,
    var State: Int,
    var ScoreRate: Double,
    var EvalScore: String,
    var Comment: String,

    val IsRemark: Boolean,
    val ItemAnalysis: String,
    val ItemAnswer: String,
    val ItemAskList: List<Any>,
    val ItemOptionList: List<ItemOptionSa>,
    val ItemSortIndex: String,
    val Selected: Boolean,
    val SortIndex: String
)

data class ItemOptionSa(
    val Option: String,
    val OptionIndex: String,
    val Rate: String,
    val StuCount: String
)